photo

Nils Lande


Last seen: 2 days ago Active since 2015

Followers: 0   Following: 0

Message

Statistics

  • First Answer

View badges

Feeds

View by

Question


How can I write Log messages from FMU exported from MATLAB/Simulink
An FMU can issue log messages througt the fmiCallbackLogger member of the fmiCallbackFunction. I have an FMU that is exported f...

1 month ago | 1 answer | 0

1

answer

Answered
Unknown hook 'FMUExportTestingMode'. Either no such hook is registered or the module registering the hook is currently not loaded.
The solution is to call load_system() before calling exportToFMU(): load_system(modelName); exportToFMU(modelName,'FMIVersion'...

3 months ago | 0

| accepted

Question


Unknown hook 'FMUExportTestingMode'. Either no such hook is registered or the module registering the hook is currently not loaded.
I'm trying to run a script that generates FMUs using the MATLAB function exportToFMU. I ran it successfully many times yesterday...

3 months ago | 1 answer | 0

1

answer

Answered
How can I use a coder.opaque value in a Matlab expression with codegen?
coder.eval('(int)', fid) can be used to return the value as integer. Example: fp_int = int32(0); fp = coder.opaq...

8 years ago | 1

Question


How to troubleshhot Code generation error messages ('Dimension 2 is fixed on the left-hand side')?
I have been struggeling with a tricky error message that I get during code generation. I have a Simulink model that contains ...

9 years ago | 1 answer | 0

1

answer