Home > Software engineering >  VS2010 calling MATLAB 2014 a compiler to generate DLL, an error occurred when initialization
VS2010 calling MATLAB 2014 a compiler to generate DLL, an error occurred when initialization

Time:09-18

Before VS2010 and success matlab2014a mixed programming, recently changed a new computer, reinstall the VS2010 and 2014 a MCR, found VS2010 calling MATLAB 2014 a compiler to generate DLL, an error occurred when the initialization, particular case is shown in figure, have checked the engineering properties of various library file path, didn't also found online to solution, ask everybody to help, thank you very much!

CodePudding user response:

Don't be A language code is modified to B language code busywork,
Also don't use A language code to directly invoke B language code base, this complicated things so easy to get wrong,
Just make A, B language code of input and output is redirected to A text file, or modify A, B language code let it through text file input and output,
Can easily make A, B coordination between the two languages,
For example:
A will request data written to A file a.t xt, renamed after finish aa. TXT
B find aa. TXT, read its contents, call the corresponding function, and writes the results file b.t xt, after finish delete aa. TXT, then b.t xt renamed bb. TXT
Found A bb. TXT, read the content, after finish delete bb. TXT
Above can be replaced by any kind of A language or development environment, B can be replaced by any kind of with the development of A different language or development environment,
Unless A or B does not support to determine whether A file exists, file read and write and file name,
But who can name does not support to determine whether a file exists, file read and write and file name for the development of language or development environment?
Can put the temporary files on the RamDisk efficiency decrease wear disk,
Data structure is very complex, a text file format problems refer to a json or XML

The communication methods between the temporary text file sharing this process there are plenty of advantages, compared to other method only listed below I can think of now:
Loose coupling between process,
Can be on the same machine, process, also can cross machine, across the operating system, hardware platform, and even multinational,
, convenient debugging, and monitoring, only let the third party or artificial view the temporary text files,
Switch, convenient online service, need to delete or create the temporary text files,
, is convenient to realize distributed and load balancing,
Services to provide convenient, queue, queue is full and it is almost impossible to happen (unless the hard disk space full)
DE...

"Across different languages, machine, across the operating system, hardware platform, multinational, cross *. *" misery,
Back is "the use of Shared a plain text file information communication" of the shore!

CodePudding user response:

Xie zhao teachers teach! But now need to solve this problem! Can solve the existing this situation as the starting point to talk about? Thank you very much!

CodePudding user response:

refer to the second floor Carol_CHH response:
xie zhao teachers teach! But now need to solve this problem! Can solve the existing this situation as the starting point to talk about? Thank you very much!

Way has go wrong, don't go back in time to the right way, and just continue to go forward? !

CodePudding user response:

reference zhao4zhong1 reply: 3/f
Quote: refer to the second floor Carol_CHH response:

Xie zhao teachers teach! But now need to solve this problem! Can solve the existing this situation as the starting point to talk about? Thank you very much!

Way has go wrong, don't go back in time to the right way, and just continue to go forward? !


Requires that the software without VS2010 and matlab software on the bare machine can work, and according to the user's configuration parameters, invoke a particular function in matlab, produces the corresponding data in real time, you said temporary text files can be Shared? If you can, please teach in detail,

CodePudding user response:

Excuse me, can you solve it, the building Lord my matlab generated DLL, in vs2017 also call fails

CodePudding user response:

reference 4 floor Carol_CHH response:
Quote: reference zhao4zhong1 reply: 3/f

Quote: refer to the second floor Carol_CHH response:

Xie zhao teachers teach! But now need to solve this problem! Can solve the existing this situation as the starting point to talk about? Thank you very much!

Way has go wrong, don't go back in time to the right way, and just continue to go forward? !


Requires that the software without VS2010 and matlab software on the bare machine can work, and according to the user's configuration parameters, invoke a particular function in matlab, produces the corresponding data in real time, you said temporary text files can be Shared? If you can, please teach in detail,

The matlab runtime and Microsoft frame work must be installed
  • Related