Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

location of _res.mat file

location of _res.mat file

I'm running OpenModelica through the corba interface, and with every version that starts with 1.11, my program can no longer find the .mat results file. In fact, when I do a manual search for the file in windows explorer, I can't find any .mat files that were created in the time frame where I'm trying to run that version. Any idea what changed from 1.10 to 1.11? I don't have the problem when I run OMEdit - just when I'm running OM through Corba.

Re: location of _res.mat file

What commands do you send to omc? How do you start omc?
The generated files should be in the directory where you start omc.

You can send:

Code:


cd("/some/path/you/want"); getErrorString();
simulate(Model);  getErrorString();

The Model_res.mat file should be in /some/path/you/want directory.

Re: location of _res.mat file

Or just call cd() to show the current directory, which is probably where the file will be generated.

There are 0 guests and 0 other users also viewing this topic