Closed denniskao872 closed 3 years ago
Duplicate of #
The problem is as attached
Is FOMCON toolbox itself properly installed and all of its functions found on MATLAB path?
I set path to the fomcon toolbox and save it. the fod_v2_R2012b you give me i put it into the models folder and save path together.
About the latest screenshot: str
is generated by the fracpid
function. If fracpid
cannot be found, initialization of the block will fail and you will see ??? displayed on the block instead of the controller.
Pertaining to the earlier issues, I have just tried opening the latest fod_v2
in Matlab R2012b, and although there were a few warnings in the Matlab Command Line about missing parameters, it should still operate normally.
Hence, please follow completely the checklist:
fomcon-matlab-master
in MATLAB, right-click on that folder, choose Add to Path → Folders and Subfolders.fomcon
in MATLAB command line. If a UI opens, then FOMCON is installed correctly. You can now type fod_v2
in the command line and drag and drop blocks from there to your desired model. Don't forget to change solver to a stiff system solver such as ode23tb or similar unless discrete time simulation is intended.Thanks for your reply . I found the problem about my path(the error is the path where I set is not a 'English' path ). When I reset the path to all English name. It works.
At the last I want to ask one more question about fomcon. Is there any video can learn about how to identification the function . because I thought I have a wrong setting in 'fofid'.
Thanks again for your reply
This is an important point to consider, I mean regarding the non-latin characters in the path. About documentation, please consider the papers that we have published on the topic throughout the years. In any case, it is a documentation issue, so this one is closed finally. Good point on the video, though. I will think about this.
sorry for typing again I used the fod_v2_R2012b.zip you give me install in matlab 2012a. when i set the lanbda from fractional PID controller. i got a message from UI . It shows an error said "Error in 'untitled/ Fractional PID controller':Intialization commands cannot be evaluted --> Error: File fotf.m Line:1 Column 10 A class definition must be in an "@"directory". What is the problem about this message.is it still the version problem about it?(when i use the library of the block it shows ??? on it). thank you for your patience.