cybergalactic / MSS

The Marine Systems Simulator (MSS) is software that supplements the textbook "Handbook of Marine Craft Hydrodynamics and Motion Control," 2nd Edition, by T. I. Fossen, published in 2021 by John Wiley & Sons Ltd.
https://mss.fossen.biz
MIT License
473 stars 160 forks source link

run "demoOtherUSVHeadingControl" error,maybe exist problem #16

Closed openye closed 3 years ago

openye commented 3 years ago

image

cybergalactic commented 3 years ago

The Simulink file is running on my computer. Can you double check that you have downloaded the latest version of the m-files and Simulink files from GitHub. Also double check that all MSS files are on your Matlab path. The otter.m file should return xdot and U. You can test this using the call Matlab command: [xdot,U] = otter(zeros(12,1),[0 0]',1,[0 0 0]',1,1). Then report back.

openye commented 3 years ago

My version of MATLAB is 2021a. After I add an external declaration, the program can be executed. Thank you very much, Professor fossen. image image

cybergalactic commented 3 years ago

You are welcome.