Can I edit the code in a "Matlab Function" simulink block from the Matlab command line.

2 views (last 30 days)
I am using a "Matlab Function"(simulink/User Defined Functions/MATLAB Function) block for an embedded program but the code that I want to use in the "Matlab Function" block is being generated by a script. At the moment I am writing the code to an m-file and then copying and pasting it to the "Matlab Function" simulink block. Is there a way to write the code directly to the "Matlab Function" block?

Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!