Matlab Builder Ex (excel add-in)
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
try to create an excel add-in with matlab builder ex. I need to use this add-in in a computer without matlab. I create a package(the name is Rsi_prj1.exe) that contain this file: MCRInstaller.exe MWRegsvr.exe Rsi_prj1_1_0.dll Rsi_prj1.bas
I transfer the Rsi_prj1.exe in a computer without matlab, then I open the package that install MCRInstaller The MCR Installer automatically:
Copies the necessary files to the target folder you specified. Registers the components as needed. Updates the system path to point to the MCR binary folder, which is C:\Programmi\MATLAB\MATLAB Compiler Runtime\v717\runtime\win32
now i open the excel file than import rsi_prj1.bas and save .xla, than i add the new add-in in excel. the error message when I use the rsi function (crete with matlab) is: Error in VBAProject: ActiveX component can't create object.
I register the Rsi_prj1_1_0.dll but when i lunch in dos mwregsvr rsi_prj1_1_0.dll i see the message <LoadLibrary>Error:0x0000007e Message: The specified module could not be found.
i don't know where is the mistake.
P.s. (sorry for my bad english!)
0 comentarios
Respuestas (1)
Yatin
el 8 de Nov. de 2013
Hello Alberto,
You can try using the following commands to register your files before running the component.
regsvr32 C:\Program Files\MATLAB\MATLAB Compiler Runtime\v717\runtime\win32\mwcommgr.dll
regsvr32 C:\Program Files\MATLAB\MATLAB Compiler Runtime\v717\runtime\win32\mwcomutil.dll
regsvr32 < project_dll_dir >\projectdll_1_0.dll
Hope this helps.
0 comentarios
Ver también
Categorías
Más información sobre Excel Add-Ins en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!