Info
此问题已关闭。 请重新打开它进行编辑或回答。
Error changing a block constant from a number to a letter for analyzing in an equation
1 次查看(过去 30 天)
显示 更早的评论
Hi, I am trying to do something very simple, just change a variable from a number to a letter for integration. It gives me an error like the following:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/228092/image.png)
This is what I have set it up as:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/228093/image.png)
0 个评论
回答(1 个)
Siriniharika Katukam
2019-7-17
Hi,
I understand that you are trying to access a variable that is not defined in any of the workspaces. You can make the variable available to the constant block by just declaring it in the base workspace. You can fix it from the error dialog box.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!