I cannot call parameter value from workspace to Simulink matlab function block
Show older comments
Hello,
I want to call a parameter value from workspace to Simulink matlab function block. But, it doesn't work.
function y = AAA( var1)
BB= var1
CC = 'parameter in workspace' * BB
y=CC
Answers (1)
Categories
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!